package tech.wowo.Service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.wowo.Mapper.UserMapper;
import tech.wowo.Service.UserService;
import tech.wowo.pojo.User;

/**
 * @Author: ShanYuqing
 * @Version: v1.0
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User queryById(Integer id) {
        return userMapper.selectByPrimaryKey(id);
    }
}
